/*
LinphoneCoreListener.java
Copyright (C) 2010  Belledonne Communications, Grenoble, France

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/
package org.linphone.core;



public interface LinphoneCoreListener {

	/**< Notifies the application that it should show up
	 * @return */
		public void show(LinphoneCore lc);
		/**< Notifies incoming calls 
		 * @return */
		public void inviteReceived(LinphoneCore lc,String from);
		 /**< Notify calls terminated by far end
		 * @return */
		public void byeReceived(LinphoneCore lc,String from);
		/**< Ask the application some authentication information 
		 * @return */
		public void authInfoRequested(LinphoneCore lc,String realm,String username); 
		/**< Callback that notifies various events with human readable text.
		 * @return */
		public void displayStatus(LinphoneCore lc,String message);
		/**< Callback to display a message to the user 
		 * @return */
		public void displayMessage(LinphoneCore lc,String message);
		/** Callback to display a warning to the user 
		 * @return */
		public void displayWarning(LinphoneCore lc,String message);
		/** State notification callback 
		 * @param state LinphoneCore.GeneralState
		 * @return 
		 * */		
		public void generalState(LinphoneCore lc,LinphoneCore.GeneralState state, String message);
}

